package com.nbgroup.dao.appraise;

import com.nbgroup.entity.Appraise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * Created by wyt on 2018/8/27.
 */
public interface AppraiseRepository extends JpaRepository<Appraise,Integer>, JpaSpecificationExecutor<Appraise> {

    List<Appraise> findAllByStsAndLidOrderByCdateDesc(Integer sts,Integer lid);
}
